import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import vant from './components/vant'
import VConsole from 'vconsole'
// rem h5 适配
import 'amfe-flexible/index.js'
import './css/main.css'
/* axios */
import '@/api/axios'

if (process.env.NODE_ENV === 'development') {
    new VConsole()
}

const app = createApp(App)


vant(app)
app.use(router)
app.mount('#app')



